868 research outputs found

    Matchmaking for covariant hierarchies

    Get PDF
    We describe a model of matchmaking suitable for the implementation of services, rather than their for their discovery and composition. In the model, processing requirements are modelled by client requests and computational resources are software processors that compete for request processing as the covariant implementations of an open service interface. Matchmaking then relies on type analysis to rank processors against requests in support of a wide range of dispatch strategies. We relate the model to the autonomicity of service provision and briefly report on its deployment within a production-level infrastructure for scientic computing

    Safer typing of complex API usage through Java generics

    Get PDF
    When several incompatible implementations of a single API are in use in a Java program, the danger exists that instances from different implementations may inadvertently be mixed, leading to errors. In this paper we show how to use generics to prevent such mixing. The core idea of the approach is to add a type parameter to the interfaces of the API, and tie the classes that make up an implementation to a unique choice of type parameter. In this way methods of the API can only be invoked with arguments that belong to the same implementation. We show that the presence of a type parameter in the interfaces does not violate the principle of interface-based programming: clients can still completely abstract over the choice of implementation. In addition, we demonstrate how code can be reused between different implementations, how implementations can be defined as extensions of other implementations, and how different implementations may be mixed in a controlled and safe manner. To explore the feasibility of the approach, gauge its usability, and identify any issues that may crop up in practical usage, we have refactored a fairly large existing API-based application suite, and we report on the experience gained in the process

    Functional adaptivity for digital library services in e-infrastructures: the gCube approach

    Get PDF
    We consider the problem of e-Infrastructures that wish to reconcile the generality of their services with the bespoke requirements of diverse user communities. We motivate the requirement of functional adaptivity in the context of gCube, a service-based system that integrates Grid and Digital Library technologies to deploy, operate, and monitor Virtual Research Environments defined over infrastructural resources. We argue that adaptivity requires mapping service interfaces onto multiple implementations, truly alternative interpretations of the same functionality. We then analyse two design solutions in which the alternative implementations are, respectively, full-fledged services and local components of a single service. We associate the latter with lower development costs and increased binding flexibility, and outline a strategy to deploy them dynamically as the payload of service plugins. The result is an infrastructure in which services exhibit multiple behaviours, know how to select the most appropriate behaviour, and can seamlessly learn new behaviours

    Hybrid applications over XML - integrating the declarative and navigational approaches

    Get PDF
    We discuss the design of a quasi-statically typed language for XML in which data may be associated with different structures and different algebras in different scopes, whilst preserving identity. In declarative scopes, data are trees and may be queried with the full flexibility associated with XML query algebras. In procedural scopes, data have more conventional structures, such as records and sets, and can be manipulated with the constructs normally found in mainstream languages. For its original form of structural polymorphism, the language offers integrated support for the development of hybrid applications over XML, where data change form to re flct programming expectations and enable their enforcement

    Precision Measurement of 11Li moments: Influence of Halo Neutrons on the 9Li Core

    Get PDF
    The electric quadrupole moment and the magnetic moment of the 11Li halo nucleus have been measured with more than an order of magnitude higher precision than before, |Q| = 33.3(5)mb and mu=3.6712(3)mu_N, revealing a 8.8(1.5)% increase of the quadrupole moment relative to that of 9Li. This result is compared to various models that aim at describing the halo properties. In the shell model an increased quadrupole moment points to a significant occupation of the 1d orbits, whereas in a simple halo picture this can be explained by relating the quadrupole moments of the proton distribution to the charge radii. Advanced models so far fail to reproduce simultaneously the trends observed in the radii and quadrupole moments of the lithium isotopes.Comment: 4 pages, 4 figures, 1 tabl

    Age group differences in performance using diverse input modalities: insertion task evaluation

    Get PDF
    Novel input modalities such as touch, tangibles or gestures try to exploit human's innate skills rather than imposing new learning processes. However, no work has been reported that systematically evaluates how these interfaces influence users' performance, that is, assesses if one interface can be more or less appropriate for interaction regarding: (1) different age groups; and (2) different basic tasks, as content insertion or manipulation. This work presents itself as an exploratory evaluation about whether or not the users' efficiency is indeed influenced by different input modalities and age. We conducted a usability evaluation with 60 subjects to understand how different interfaces may influence the speed and accuracy of three specific age groups (children, young adults and older-adults) when dealing with a basic content insertion task. Four input modalities were considered to perform the task (keyboard, touch, tangibles and gestures) and the methodology was based on usability testing (speed, accuracy and user preference). Overall, results show that there is a statistically significant difference in speed of task completion between the age groups, and there may be indications that the type of interface that is used can indeed influence efficiency in insertion tasks, and not so much other factors like age. Also, the study raises new issues regarding the "old" mouse input versus the "new" input modalities.FCT – Fundação para a Ciência e a Tecnologia (SFRH/BD/81541/2011)COMPETE: POCI-01-0145- FEDER-007043 and FCT – Fundação para a Ciência e Tecnologia within the Project Scope: UID/CEC/00319/201

    Weight loss and outcomes in subjects with progressive pulmonary fibrosis: data from the INBUILD trial

    Get PDF
    BACKGROUND: Lower body mass index (BMI) and weight loss have been associated with worse outcomes in some studies in patients with pulmonary fibrosis. We analyzed outcomes in subgroups by BMI at baseline and associations between weight change and outcomes in subjects with progressive pulmonary fibrosis (PPF) in the INBUILD trial. METHODS: Subjects with PPF other than idiopathic pulmonary fibrosis were randomized to receive nintedanib or placebo. In subgroups by BMI at baseline (< 25, ≥ 25 to < 30, ≥ 30 kg/m2), we analyzed the rate of decline in FVC (mL/year) over 52 weeks and time-to-event endpoints indicating disease progression over the whole trial. We used a joint modelling approach to assess associations between change in weight and the time-to-event endpoints. RESULTS: Among 662 subjects, 28.4%, 36.6% and 35.0% had BMI < 25, ≥ 25 to < 30 and ≥ 30 kg/m2, respectively. The rate of decline in FVC over 52 weeks was numerically greater in subjects with baseline BMI < 25 than ≥ 25 to < 30 or ≥ 30 kg/m2 (nintedanib: - 123.4, - 83.3, - 46.9 mL/year, respectively; placebo: - 229.5; - 176.9; - 171.2 mL/year, respectively). No heterogeneity was detected in the effect of nintedanib on reducing the rate of FVC decline among these subgroups (interaction p = 0.83). In the placebo group, in subjects with baseline BMI < 25, ≥ 25 to < 30 and ≥ 30 kg/m2, respectively, 24.5%, 21.4% and 14.0% of subjects had an acute exacerbation or died, and 60.2%, 54.5% and 50.4% of subjects had ILD progression (absolute decline in FVC % predicted ≥ 10%) or died over the whole trial. The proportions of subjects with these events were similar or lower in subjects who received nintedanib versus placebo across the subgroups. Based on a joint modelling approach, over the whole trial, a 4 kg weight decrease corresponded to a 1.38-fold (95% CI 1.13, 1.68) increase in the risk of acute exacerbation or death. No association was detected between weight loss and the risk of ILD progression or the risk of ILD progression or death. CONCLUSIONS: In patients with PPF, lower BMI at baseline and weight loss may be associated with worse outcomes and measures to prevent weight loss may be required. TRIAL REGISTRATION: https://clinicaltrials.gov/ct2/show/NCT02999178
    corecore